package karileet.meeting.profile.service;

import android.util.Log;
import karileet.meeting.profile.ProfileConf;

public class EnableProfileService extends AbstractScheduleService {
    @Override
    public void initiate() {
        if (config.isScheduleStartEnabled() && !config.isProfileEnabled() && isDayEnabled()) {
            Log.d(ProfileConf.APP, "Enabling profile");
            mp.enable(true);
            mp.updateWidget();
        }
    }
}
